package com.xltt.newbleclient.ble;

import java.io.Serializable;

/**
 * 通知消息内容
 */
public class NotificationMessage2 implements Serializable {
    private String packageName;
    private String title;
    private String content;
    private boolean post = true;

    public NotificationMessage2(){}

    public NotificationMessage2(String packageName, String title, String content, boolean post) {
        this.packageName = packageName;
        this.title = title;
        this.content = content;
        this.post = post;
    }

    public String getPackageName() {
        return packageName;
    }

    public void setPackageName(String packageName) {
        this.packageName = packageName;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public boolean getPost() { return post; }

    public void setPost(boolean post) { this.post = post; }

    @Override
    public String toString() {
        return "Notification{" +
                "packageName='" + packageName + '\'' +
                ", title='" + title + '\'' +
                ", content=" + content + '\'' +
                ", post=" + post +
                '}';
    }
}
